package com.tjw.telecomver2.ex;

import com.tjw.telecomver2.web.ResponseCode;

/**
 * 业务异常类
 */
public class CoolSharkServiceException extends RuntimeException{

    private ResponseCode responseCode;

    public CoolSharkServiceException(ResponseCode responseCode, String message) {
        super(message);
        this.responseCode = responseCode;
    }

    public ResponseCode getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(ResponseCode responseCode) {
        this.responseCode = responseCode;
    }
}
